import {ApiProperty} from "@nestjs/swagger";
import {IsOptional} from "class-validator";

export class CreateDiscussDto {
    @ApiProperty({ description: '昵称',type: String,required:true })
    commenter: string

    @ApiProperty({ description: '评论内容',type: String,required:true })
    content: string

    @ApiProperty({ description: '文章id',type: Number,required:true })
    blogId: number
}


